package cn.iocoder.yudao.module.resource.controller.admin.advertiser.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 广告商 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ResourceAdvertiserRespVO {

    @Schema(description = "广告商ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("广告商ID")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1001")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "XX广告有限公司")
    @ExcelProperty("公司名称")
    private String companyName;

    @Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("联系人")
    private String contactPerson;

    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED, example = "13800138000")
    @ExcelProperty("联系电话")
    private String contactPhone;

    @Schema(description = "营业执照URL", example = "https://example.com/license.jpg")
    @ExcelProperty("营业执照URL")
    private String businessLicense;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("common_status")
    private Integer status;

    @Schema(description = "审核状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "审核状态", converter = DictConvert.class)
    @DictFormat("resource_audit_status")
    private Integer auditStatus;

    @Schema(description = "审核备注", example = "审核通过")
    @ExcelProperty("审核备注")
    private String auditRemark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
